<template>
  <div class="form-horizontal form-config" role="form">
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*分类</label>
      <div class="col-sm-9 text-left">
        <select class="form-control" v-model="form.mainCategoryId">
          <option value="-1">请选择</option>
          <option value="{{it.id}}" v-for="it in mainCategory">{{it.name}}</option>
        </select>
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*所属行业</label>
      <div class="col-sm-9 text-left">
        <select class="form-control" v-model="form.industryCategoryId">
          <option value="-1">请选择</option>
          <option value="{{it.id}}" v-for="it in industryCategory">{{it.name}}</option>
        </select>
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*姓名</label>
      <div class="col-sm-9 text-left">
        <input type="text" class="form-control" v-model="form.name">
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*公司</label>
      <div class="col-sm-9 text-left">
        <input type="text" class="form-control" v-model="form.company">
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*职位</label>
      <div class="col-sm-9 text-left">
        <input type="text" class="form-control" v-model="form.position">
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*电话</label>
      <div class="col-sm-9 text-left">
        <input type="text" class="form-control" v-model="form.phone">
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">*邮箱</label>
      <div class="col-sm-9 text-left">
        <input type="text" class="form-control" v-model="form.email">
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">工作经历</label>
      <div class="col-sm-9 text-left">
        <textarea class="form-control" rows="5" v-model="form.experience"></textarea>
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">历史合作情况</label>
      <div class="col-sm-9 text-left">
        <textarea class="form-control" rows="5" v-model="form.hisCooperation"></textarea>
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">评分</label>
      <div class="col-sm-9 text-left">
        <input type="text" class="form-control" v-model="form.score">
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">评价</label>
      <div class="col-sm-9 text-left">
        <textarea rows="3" class="form-control" v-model="form.evaluation"></textarea>
      </div>
    </div>
    <div class="form-group form-group-sm">
      <label class="col-sm-3 control-label">其他信息备注</label>
      <div class="col-sm-9 text-left">
        <textarea rows="3" class="form-control" v-model="form.remarks"></textarea>
      </div>
    </div>
    <div class="form-group form-group-sm">
      <div class="col-sm-9 col-sm-offset-3">
        <button class="btn btn-primary" @click="submit">提交</button>
      </div>
    </div>
  </div>
</template>
<style src="./expert-config.css" scoped></style>
<script src="./expert-config.js"></script>